Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description of Change
This PR adds full support for the KodeDot ESP32-S3R8 board variant to the Arduino-ESP32 core:
variants/kodedot/
containing:pins_arduino.h
with pin mappings for the 2×10 header, QSPI-LCD, SD, I²C buses, buttons, NeoPixel, JTAG, USB power pins, etc.kodedot_partitions.csv
defining the custom flash layout (OTA, SPIFFS, app slots).custom_ota_override.cpp
to override the weakverifyRollbackLater()
hook, forcing OTA images to remain un-validated until explicitly approved, thus protecting against faulty updates.platform.txt
:esptool_py_nomerge
that writes firmware at the partition offset defined inkodedot_partitions.csv
without manual flags.boards.txt
(board entry for kode dot)platform.txt
(custom tool declaration)With these additions, users can select kode dot, compile and upload their sketch (or OTA) directly into the correct partition, and rely on the
custom_ota_override.cpp
behavior to guard against bad firmware rolls.Test scenarios
I have tested and debugged this PR on real KodeDot ESP32-S3R8 hardware using:
LED_BUILTIN
)esptool_py_nomerge
All tests passed, including OTA rollback verification.
Related links
variants/kodedot/kodedot_partitions.csv
boards.txt
,platform.txt